<jsp:include page="logincheck.jsp" />
<%@ page import="java.util.*" %>


<jsp:useBean id="hardwareTest" class="se2.HardwareTestResult" scope="request"/>
<jsp:setProperty name="hardwareTest" property="*"/>

<html>
	<head>
		<title>Administration Console :: Hardware Test</title>
		<link rel="stylesheet" href="default.css" type="text/css" media="screen">
		<script type="text/javascript" src="hardwareTest.js"></script>
		
	</head>
	<body>
		<div id="container">
			<div id="navigation">
<p>&nbsp;</p>
<jsp:include page="navigation.jsp" />
			</div>
			
			<div id="header">				
				<img src="images/header.png" />
			</div>

			<div id="content">
<!-- Main code -->


				<h1>Administration Menu :: Hardware Test</h1>
				<h2><a href="viewHardwareTestResults.jsp">View Hardware Test History</a>
				<form name="hardwareForm" id="hardwareForm" method="post" action="hardwareTestFunction.jsp" onsubmit="return validate(this)">
					<table border="0" cellpadding="0" cellspacing="0">
						<tr style="background-image: url('images/tableBackground.png');">
							<td width="200px" class="tableHeader">Hardware IP Address</td>
							<td><input type="text" id="ipAddress" name="ipAddress" value="<%= hardwareTest.getIpAddress() %>" class="textField" onClick="this.style.background='#efefef';" onBlur="this.style.background='#fff';"></td>
						</tr>
						<tr>
							<td class="tableHeader">Test Result</td>
							<td><input type="text" id="results" name="results" value="<%= hardwareTest.getResults() %>"  class="textField" onClick="this.style.background='#efefef';" onBlur="this.style.background='#fff';" readonly></td>
						</tr>					
						<tr style="background-image: url('images/tableBackground.png');">
							<td colspan="2" align="right">
							<input type="submit" value="Submit">
							<input type="button" value="Cancel" onclick="javascript:document.location.href='administratorMenu.jsp'" />
							</td>
						</tr>
					</table>
				</form>
				
<!-- Main Code -->
			</div>

			<div id="footer">
<jsp:include page="footer.jsp" />
			</div>
		</div>
	</body>

</html>


